#include <stdio.h>

int MyStrcmp(char *dest,char *src)
{
    while(*dest != "\0" && *src != "\0")
    {
        if(*dest != *src)
        return *dest - *src;
        dest++;
        src++;
    }
    return *dest - *src;
}

void PrintArray(char *s,int len)
{
    for(int i = 0; i < len; i++)
    {
        printf("%d",s[i]);
    }
    printf("\n");
}
int main()
{
    char *a = "hello";
    char *b = "heoo";
    int ret = MyStrcmp(a,b);
    printf("ret = %d\n",ret);
}